package com.cl.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统角色表
 *
 * @TableName sys_role
 */
@TableName(value = "sys_role")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysRole extends BaseEntity {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long roleId;

    /**
     *
     */
    private String roleName;

    /**
     *
     */
    private String roleCode;

    /**
     *
     */
    private String roleDesc;

    /**
     * 删除标识（0-正常,1-删除）
     */
    private String delFlag;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}